package com.aaa.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (RedisStock)表实体类
 *
 * @author makejava
 * @since 2022-12-08 09:19:59
 */
@SuppressWarnings("serial")
public class RedisStock extends Model<RedisStock> {

    private Integer id;

    private Integer num;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

